package com.four.hospital.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.List;

/**
 * @Author:wsy
 * @Date: 2022/01/12/10:47
 * @Description
 */
@Data
public class Area {

    /**
     * 地址id
     */
    private Integer areaId;

    /**
     * 地址名称
     */
    private String areaName;

    /**
     * 地区父节点
     */
    private Integer areaPid;

    @TableField(exist = false)
    public List<Area> areaChildren;
}
